package com.qianji.petmall.product.dao;

import com.qianji.petmall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianji.petmall.product.vo.SpuItemAttrGroupVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author xiaoxin
 * @email 485350978@qq.com
 * @date 2022-01-07 14:35:43
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemAttrGroupVo> selectByItem(@Param(value = "spuId") Long spuId,@Param(value = "catalogId") Long catalogId);
}
